home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 4 / Amiga Tools 4.iso / tools / netzwerk / hlink2 / netscripts / megalosound next >
Text File  |  1996-02-26  |  821b  |  51 lines

  1.  
  2. ; HLink Application Transmission Script
  3. ; MegaLosound -  script
  4.  
  5. failat 21
  6.  
  7. if exists work:applic/MegaLoSound/MegaLoSound
  8.  
  9. else
  10.   if exists d:MegaloSound.Lha
  11.   else
  12.     ;remove rest of MegaLoSound from the system
  13.     cd work:applic
  14.     del MegaLo#? all
  15.  
  16.     ;Send archive & send script
  17.     com "send NScript:megaLoSound.remote d:" >> hl:execute
  18.     wait 2
  19.     echo "run > nil: execute D:MegaLoSound.remote" >> hl:execute
  20.  
  21.     ;Wait for receive MegaLoSound archive
  22.     lab LOOP
  23.     if exists d:megaLoSound.lha
  24.     else
  25.       skip LOOP back
  26.     endif
  27.     wait 1
  28.   endif
  29.  
  30.   wait 1
  31.   echo "Unpacking Application to Work:Applic/ ... "
  32.   wait 1
  33.   lha x -T d:megaLoSound.lha work:applic/
  34.   Move Work:Applic/MegaLoConfig.Dat Work:Applic/megaLoSound/
  35.   wait 4
  36.  
  37. endif
  38.  
  39. cd work:applic/megalosound/
  40. run > nil: MegaLoSound
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.